{%  extends 'index.html' %}
{% block title %}用户管理{% endblock %}
{% block content %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新增数据</title>
    {#    导入框架的css#}
    <link rel="stylesheet" href="/static/css/bootstrap.css">
    {# 用到什么讲什么 #}
</head>
<body>
<form style="width: 400px; margin: 100px auto" method="post">
    <div class="mb-3">
        <label for="exampleInputEmail1" class="form-label">用户名</label>
        <input type="text"
               class="form-control"
               id="exampleInputEmail1"
               aria-describedby="emailHelp"
               name="username"
               value="{{ student.name }}"
        >
    </div>
    <div class="mb-3">
        <label for="exampleInputPassword1" class="form-label">语文</label>
        <input type="text"
               class="form-control"
               id="exampleInputPassword1"
               name="chinese"
               value="{{ student.chinese }}"
        >
    </div>
    <div class="mb-3">
        <label for="math" class="form-label">数学</label>
        <input type="text"
               class="form-control"
               id="math"
               name="math"
               value="{{ student.math }}"
        >
    </div>
    <div class="mb-3">
        <label for="english" class="form-label">英语</label>
        <input type="text"
               class="form-control"
               id="english"
               name="english"
               value="{{ student.english }}"
        >
    </div>
    <button type="submit" class="btn btn-primary">提交</button>

</form>
</body>
</html>
{% endblock %}